package com.bayss.core.enums;

public enum UserStatus {
    normal(1,"正常"),
    suspend(2,"冻结"),
    invalid(0,"失效或已使用"),
    ;

    private int val;
    private String desc;

    UserStatus(int val, String desc) {
        this.val = val;
        this.desc = desc;
    }

    public int getVal() {
        return val;
    }

    public String getDesc() {
        return desc;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
